<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="u" uri="/iuie-tag"%>
<!DOCTYPE html>
<html lang="zh">
<head>
<title><spring:message code="login.title" /></title>
<meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<link rel="shortcut icon" href="favicon.ico">
</head>
<u:View res="base64" userCSS="login.css" userJS="login.js"
	basePath="/res-system/login/">
<body>
<form method="post" action="login" onsubmit="return LoginPage.isAccess()">
<div class="login-form">
	<h2><spring:message code="sys.title" /></h2>
	<div>
		<span id="serverErrMsg">${error }</span>
		<label><spring:message code="login.account"/></label>
		<input type="text" name="username" id="username" />
	</div>
	<div>
		<label><spring:message code="login.password" /></label>
		<input type="password" name="password" id="password"/>
		<label style="color:#263246" class="glyphicon glyphicon-eye-close" onclick="LoginPage.eye(this)"/>
	</div>
	
	<div>
		<label><spring:message code="login.token" /></label> 
		<input type="password" name="token" id="token" autocomplete="on"/> 
	</div>
	<div>
		<label><spring:message code="login.verify_code" /></label>
		<input name="captcha" type="text" class="randImageInput" id="captcha" /><img id="randImage"
			border=0 onclick="LoginPage.validateCodeChange(this)" src="randomImage"
			title="<spring:message code='login.verify_code.switch'/>">
			<i id="validateCodeTag" style="display:none;" class="fa"></i>
	</div>
	
	<div>
		<button class='m-btn' id="loginBtn" type="submit"><spring:message code='login.title'/></button>
	</div>
</div>
</form>
</body>
</u:View>
</html>